﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MauiTurntable.Help
{
    public static class helpClass
    {
        public static long getTime()
        {
            long timestamp = DateTime.Now.ToFileTime();
            return timestamp;
        }
        public static DateTime getTime(long time)
        {
            return DateTime.FromFileTime(time);
        }
        public static long getTime(DateTime time)
        {
            return time.ToFileTime();
        }
    }
}
